year = int(input())
if year%4 != 0:
    print("平年")
elif year%400 == 0:
    print("闰年")
elif year%100==0:
    print("平年")
else:
    print("闰年")